package com.example.pathprotectsystem.service;


import com.example.pathprotectsystem.pojo.AskList;
import com.example.pathprotectsystem.pojo.BindModel;
import com.example.pathprotectsystem.pojo.PageBean;
import com.example.pathprotectsystem.pojo.TaskModel;

public interface BindService {

    void addtask(String taskType, String taskName, String taskTime, String status, int userid, int pathid);

    PageBean<BindModel> tasklist(AskList askList);

    void taskupdate(int userid, int pathid, String taskTime,int id);

    void taskdelete(int id);

    int findPathIdFromTask(int id);

    int findUserIdFromTask(Integer id);

    void taskupdatestatus(int id);

    void taskfinalstatus(int id);

    String getstatus(int id);

    void AIaddtask(int pathid, String taskType, String taskName, String status);
}
